export default {
  name: [
    {
      required: true,
      message: '请输入账号',
      trigger: 'blur'
    },
    {
      min: 6,
      max: 20,
      message: '长度必须大于6并小于20',
      trigger: 'blur'
    },
    {
      // pattern可以写正则表达式
      // pattern:/123456$/
    }
  ],
  password: [
    {
      required: true,
      message: '请输入密码',
      trigger: 'blur'
    },
    {
      min: 6,
      max: 20,
      message: '长度必须大于6并小于20',
      trigger: 'blur'
    }
  ]
}
